package main

import (
	"fmt"
	"math"
	"log"
	"net/http"
	"image"
)

func IndexHandler(w http.ResponseWriter, r *http.Request) {
	fmt.Fprintln(w, "hello http.server!")
}

func httpInit(){
	fmt.Println(math.Pi)
	http.HandleFunc("/", IndexHandler)
	log.Fatal(http.ListenAndServe("localhost:4000", nil))
}

func img() {
	m := image.NewRGBA(image.Rect(0, 0, 100, 100))
	fmt.Println(m.Bounds())
	fmt.Println(m.At(0,0).RGBA())
}
func main() {
	// httpInit()
	img()
}